import 'package:boss/color_constant.dart';
import 'package:boss/textStyle/text_style.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class OffersTitle extends StatelessWidget {
  final String title;

  const OffersTitle({Key key, @required this.title}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Row(
        children: <Widget>[
          Container(
            width: 6.w,
            height: 30.w,
            decoration: BoxDecoration(
              color: ColorConstant.fe7f76,
              borderRadius: BorderRadius.circular(
                6.w,
              ),
            ),
            margin: EdgeInsets.only(
              right: 10.w,
              left: 30.w,
            ),
          ),
          Text(
            title,
            style: TextStyleConstant().origin_36,
          ),
        ],
      ),
    );
  }
}
